home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4107 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: homer.alpha.net!usenet
  2. From: tyork@lnd.com
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Secure from Decompiling??
  5. Date: Fri, 02 Feb 1996 00:33:02 GMT
  6. Organization: Alpha.net -- Milwaukee, WI
  7. Message-ID: <4erfl3$oa2@homer.alpha.net>
  8. References: <4djaq2$jd5@earth.superlink.net> <4e0e5iINN5qs@keats.ugrad.cs.ubc.ca>
  9. NNTP-Posting-Host: port02.lnd.com
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku) wrote:
  13.  
  14. >In article <4djaq2$jd5@earth.superlink.net>,
  15. >Bob Stewart <rstewart@mars.superlink.net> wrote:
  16. >> I have a compiled C program containing a string that I want no one to
  17. >>be able to see, even with a decompiler. 
  18. >>
  19. >>Is there any thing to put in the code that can prevent it from being
  20. >>decompiled, or make the decompiled code unintelligle??
  21.  
  22. Odds are the decompiled code will be so unreadable, it would be
  23. useless.  There is no way to reconstruct the original data structures
  24. (structs, classes, and unions), and ALL variable name would likely
  25. contain addresses for names (e.g. i2940).  This would render the code
  26. useless from the start.  Someone would spend more time reconstructing
  27. the code than purchasing the package.
  28.  
  29. I see no real threat from decompilers.  As a VB programmer I have
  30. tried and tested the decompiler on my own code and it's interpreted.
  31. The code came back so unreadable, I would spend weeks reconstructing
  32. the code....
  33.  
  34. More importantly, the decompiler must decifer the library code from
  35. your source code... Imagine, trying to decompile a MS Windows program
  36. written with OWL or MFC, good luck.  Libraries which are linked are no
  37. different than your compiled code.
  38.  
  39. Code translators Intel ASM to Motorola ASM are possible and do exists,
  40. but this does not decompile.  
  41.  
  42.